package com.sxyjhh.fg_data_push.dao;

import com.sxyjhh.fg_data_push.po.SecurityProcityarea;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface SecurityProcityareaRepository extends PagingAndSortingRepository<SecurityProcityarea, String> {

    @Query("select COUNT(*) FROM SecurityProcityarea")
    Integer findNum();
}
